package com.hengpeng.msls.port.client.message;

import java.util.List;

import com.hengpeng.msls.port.client.vo.client.Article;

/**
 * 
 * <pre>
 * 手机客户端 新闻请求消息
 * </pre>
 * @author shenshaopeng
 * @version 1.0, 2013-10-24
 */
public class ArticleMessage extends PrivateMessage
{
	public static final int TYPE_NEWS = 0;
	public static final int TYPE_HELP = 1;
	
	private static final long serialVersionUID = 1L;
	
	private int type = TYPE_NEWS;
	
	/**
	 * 新闻集合
	 */
	private List<Article> articleList;
	
	
	
	/**
	 * 当前查询页
	 */
	private Integer pageIndex;
	
	/**
	 * 总记录数
	 */
	private Long totalCount;
	
	/**
	 * 每页记录数
	 */
	private Integer count;
	
	/**
	 * 查询条数
	 */
	private Integer listSize;
	
	public int getType()
	{
		return type;
	}

	public void setType(int type)
	{
		this.type = type;
	}

	public List<Article> getArticleList()
	{
		return articleList;
	}

	public void setArticleList(List<Article> articleList)
	{
		this.articleList = articleList;
	}

	public Integer getPageIndex()
	{
		return pageIndex;
	}

	public void setPageIndex(Integer pageIndex)
	{
		this.pageIndex = pageIndex;
	}

	public Long getTotalCount()
	{
		return totalCount;
	}

	public void setTotalCount(Long totalCount)
	{
		this.totalCount = totalCount;
	}

	public Integer getCount()
	{
		return count;
	}

	public void setCount(Integer count)
	{
		this.count = count;
	}


	public Integer getListSize()
	{
		return listSize;
	}

	public void setListSize(Integer listSize)
	{
		this.listSize = listSize;
	}
	
}
